
<!DOCTYPE html>
<html dir="ltr" lang="cn">
<head>
    <meta charset="UTF-8" />
    <title>众创织梦配送清单</title>
    <script type="text/javascript" src="/Public/plugins/jQuery/jQuery-2.1.4.min.js"></script>
	<script src="/Public/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <link href="/Public/bootstrap/css/font-awesome.min.css" type="text/css" rel="stylesheet" />
    <style media="print" type="text/css">.noprint{display:none}</style>
</head>
<body>
<div class="container">
<script type="text/javascript"> 
jQuery.fn.rowspan = function(colIdx) { //封装的一个JQuery小插件  
return this.each(function(){ 
var that; 
$('tr', this).each(function(row) { 
$('td:eq('+colIdx+')', this).filter(':visible').each(function(col) { 
if (that!=null && $(this).html() == $(that).html()) { 
rowspan = $(that).attr("rowSpan"); 
if (rowspan == undefined) { 
$(that).attr("rowSpan",1); 
rowspan = $(that).attr("rowSpan"); } 
rowspan = Number(rowspan)+1; 
$(that).attr("rowSpan",rowspan); 
$(this).hide(); 
} else { 
that = this; 
} 
}); 
}); 
}); 
}

$(document).ready(function(){
	$(".g_list").rowspan(0);
	$(".g_list").rowspan(1);
	$(".g_list").rowspan(2);
	$(".g_list").rowspan(7);
}); 

function dayin_num(){
	$.post("/index.php/Admin/Order/order_print",
	  {
		action:"yes",
	    order_id:"3299"
	  },
	  function(data,status){ console.log(data);});
}
</script>
<style type="text/css">
	.g_list .mytd{height:25px;}
	.title_pic{float: left;}
	.text-center{font-size: 14px;}
	.table{border-collapse: collapse;border-spacing: 0;}
	.table td{border: 1px solid;border-collapse: collapse;border-spacing: 0;height:45px;line-height:25px;text-align: center;}
</style>
    <div style="page-break-after: always;">
        <h1 align="center">众创织梦配送清单</h1>
             <form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
                <div class="table-responsive">
                    <table class="table table-bordered" style="width: 210mm;margin: auto;">
                                <tbody>
                                    <tr>
										<td class="text-center" style="background:#EAF8FF;">客店名：大源客家五金</td>
                                        <td class="text-center" style="background:#EAF8FF;">客户名：大源客家五金</td>
                                        <td class="text-center" style="background:#EAF8FF;">标识：1D</td>
                                        
                                        <td class="text-center" style="background:#EAF8FF;">电话：17875570976</td>
                                        <td class="text-center" style="background:#EAF8FF;">地址：大源上迳中路与大源东路交叉口东100米</td>
                                    </tr>
									
<tr>
<td class="text-center" colspan="8" style="padding:0;">
	

<table class="table table-bordered g_list" style="width:100%;">
<tr>
		<td style="width: 120px;" class="mytd">商家</td>
		<td style="width: 120px;" class="mytd">商家订单号</td>
		<td style="width: 80px;" class="mytd">包装件数</td>
		<td style="width: 220px;" class="mytd">产品名</td>
		<td style="width: 90px;" class="mytd">单价</td> 
		<td style="width: 90px;" class="mytd">数量</td>
		<td style="width: 90px;" class="mytd">小计</td>
		<td style="width: 100px;" class="mytd">订单金额</td>
</tr>
		<tr>
		<td class="mytd" style="text-align: left;"><b>斗狼工具</b>
		<br/>
		<span style="color:#948e8e;">
		入库：1608860959		</span>
		</td> 
		<td class="mytd">**164753		</td>
		<td class="mytd">3件</td>
		<td style="text-align:left;">
			<div class="title">斗狼工具 小花锄 草锄 种花小锄头 园林工具 园艺锄 十字锄 园艺镐 两用锄</div>
			<div class="title" style="color:#8e8a8a;">规格:木柄平三齿锄</div>
			</td>
		<td class="mytd">￥7.200</td> 
		<td class="mytd">3.00</td> 
		<td class="mytd">￥21.6</td>
		<td class="mytd" style="color:red;font-size:13px">￥81.200<span style="display: none;">202012242149164753</span></td>
	</tr>	<tr>
		<td class="mytd" style="text-align: left;"><b>斗狼工具</b>
		<br/>
		<span style="color:#948e8e;">
		入库：1608860959		</span>
		</td> 
		<td class="mytd">**164753		</td>
		<td class="mytd">3件</td>
		<td style="text-align:left;">
			<div class="title">斗狼工具 1.2米 桉木 铲柄 钢锹柄 手柄 木柄 锹柄 铁锹柄</div>
			<div class="title" style="color:#8e8a8a;">规格:桉木铲柄1件（10条装）</div>
			</td>
		<td class="mytd">￥19.000</td> 
		<td class="mytd">2.00</td> 
		<td class="mytd">￥38</td>
		<td class="mytd" style="color:red;font-size:13px">￥81.200<span style="display: none;">202012242149164753</span></td>
	</tr>	<tr>
		<td class="mytd" style="text-align: left;"><b>斗狼工具</b>
		<br/>
		<span style="color:#948e8e;">
		入库：1608860959		</span>
		</td> 
		<td class="mytd">**164753		</td>
		<td class="mytd">3件</td>
		<td style="text-align:left;">
			<div class="title">斗狼工具 小花锄 草锄 种花小锄头 园林工具 园艺锄 十字锄 园艺镐 两用锄</div>
			<div class="title" style="color:#8e8a8a;">规格:木柄四齿锄</div>
			</td>
		<td class="mytd">￥7.200</td> 
		<td class="mytd">3.00</td> 
		<td class="mytd">￥21.6</td>
		<td class="mytd" style="color:red;font-size:13px">￥43.000<span style="display: none;">202012242149164753</span></td>
	</tr>		<tr>
		<td class="mytd" style="text-align: left;"><b>迪昌劳保</b>
		<br/>
		<span style="color:#948e8e;">
		入库：1608884938		</span>
		</td> 
		<td class="mytd">**163429		</td>
		<td class="mytd">1件</td>
		<td style="text-align:left;">
			<div class="title">盐酸（瓶装）</div>
			<div class="title" style="color:#8e8a8a;">包装:1件（24瓶）</div>
			</td>
		<td class="mytd">￥43.000</td> 
		<td class="mytd">1.00</td> 
		<td class="mytd">￥43</td>
		<td class="mytd" style="color:red;font-size:13px">￥43.000<span style="display: none;">202012242149163429</span></td>
	</tr><tr>
	<td class="mytd" colspan="2" style="font-weight: bold;font-size:16px;text-align: right;height: 45px;">总件数：</td>
	<td class="mytd" style="font-weight: bold;font-size:16px">4 件</td>
	<td class="mytd" colspan="3" style="font-weight: bold;font-size:13px;text-align: left;">
		<b>改单：</b>
						<span style="color:#999;">未改单</span>
							</td>
	<td class="mytd" style="font-weight: bold;font-size:16px;text-align: right;height: 45px;">应收额：</td>
	<td class="mytd" style="font-weight: bold;font-size:16px;color: red;">￥124.2</td>
</tr>

</table>
	</td>
</tr>
</tbody>
</table>
</div>
</form>
		
		<input style="background: #007BB6;color: #fff;width:250px;font-size:18px;line-height: 35px;border-radius: 10px;border:none;margin:35px 45%;margin-bottom: 280px;" type="submit" onclick="dayin_num();window.print();" value="打印">
    </div>
</div>
</body>
</html>